home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / prefs / sound.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  2KB  |  66 lines

  1. #ifndef PREFS_SOUND_H
  2. #define PREFS_SOUND_H 1
  3. /*
  4. ** sound.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for sound.h
  17. */
  18. #ifndef SoundPrefsPtr
  19. #define SoundPrefsPtr ADDRESS
  20. #endif
  21. /*
  22. ** End of StructPointer defines for sound.h
  23. */
  24.  
  25.  
  26. /*****************************************************************************/
  27.  
  28.  
  29. #ifndef EXEC_TYPES_H
  30. #include <exec/types.h>
  31. #endif
  32.  
  33. #ifndef LIBRARIES_IFFPARSE_H
  34. #include <libraries/iffparse.h>
  35. #endif
  36.  
  37.  
  38. /*****************************************************************************/
  39.  
  40.  
  41. #define ID_SOND 1397706308 
  42.  
  43.  
  44. STRUCT SoundPrefs
  45.  
  46.     STRING sop_Reserved SIZE 16  /* 4*SIZEOF(LONGINT) */        /* SYSTEM reserved        */
  47.     SHORTINT  sop_DisplayQueue        /* Flash the display?     */
  48.     SHORTINT  sop_AudioQueue          /* Make some sound?       */
  49.     SHORTINT sop_AudioType           /* Type of sound,  see below   */
  50.     SHORTINT sop_AudioVolume         /* Volume of sound,  0..64     */
  51.     SHORTINT sop_AudioPeriod         /* Period of sound,  127..2500 */
  52.     SHORTINT sop_AudioDuration           /* Length of simple beep      */
  53.     STRING sop_AudioFileName SIZE 256       /* Filename of 8SVX file      */
  54. END STRUCT 
  55.  
  56.  
  57. /* constants for SoundPrefs.sop_AudioType */
  58. #define SPTYPE_BEEP 0   /* simple beep sound */
  59. #define SPTYPE_SAMPLE   1   /* sampled sound     */
  60.  
  61.  
  62. /*****************************************************************************/
  63.  
  64.  
  65. #endif /* PREFS_SOUND_H */
  66.